package com.yonyou.sto.modules.ims.model;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * <p>
 *
 * </p>
 *
 * @author aegon
 * @since 2020-09-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ims_tax_item")
@ApiModel(value = "ImsTaxItem对象", description = "")
public class ImsTaxItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "税目编码")
    private String taxItemSn;

    @ApiModelProperty(value = "一级分类")
    private String taxItemFirstCategory;

    @ApiModelProperty(value = "二级分类")
    private String taxItemSecondCategory;

    @ApiModelProperty(value = "货物或应税劳务、服务名称")
    private String taxItemName;

    @ApiModelProperty(value = "税率")
    private BigDecimal taxItemRate;

    @ApiModelProperty(value = "税收分类编码")
    private String taxItemCategoryCode;

    @ApiModelProperty(value = "开票软件类型")
    private String taxItemSoftwareCategory;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "启用状态：0->禁用；1->启用")
    private Integer status;

    private Integer sort;


}
